package com.baselibrary.test.MVP.mvpBase.RequstBody;

import com.alibaba.fastjson.JSONObject;

import java.util.Hashtable;

/**
 * Created by 35876 于萌萌
 * 创建日期: 19:16 . 2017年01月29日
 * 描述:访问网络的请求体
 * <p>
 * <p>
 * 备注:
 */

public class RequstBody <T>{
    private int id;
    private int type;
    private Hashtable<String,String> mHashtable;
    private String url;
    public JSONObject mJsonObject;
    public void setJSONObject(JSONObject mJsonObject) {
        this.mJsonObject = mJsonObject;
    }

    public JSONObject getJsonObject() {
        return mJsonObject;
    }



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Hashtable<String, String> getHashtable() {
        return mHashtable;
    }

    public void setHashtable(Hashtable<String, String> hashtable) {
        mHashtable = hashtable;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
    T mClass;

    public T getClazz() {
        return mClass;
    }

    public void setClazz(T aClass) {
        mClass = aClass;
    }
}
